package com.betterwood.dragon.entity.dto.demo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * @author dominic
 * @create 2021-04-07 15:44
 */

@Data
public class DemoDTO {

    private String id;
    // 实体名称
    @NotBlank(message = "实体名称不能为空")
    private String demoName;
    // 实体描述
    @NotBlank(message = "实体描述不能为空")
    private String demoDesc;
    // 实体数量
    private Integer demoCount;
    // 实体金额
    private Double demoAmount;
    // 所属店铺Id
    @NotBlank(message = "shopId不能为空")
    private String shopId;
    // 实体状态, 0为无效, 1为有效
    private Integer status;
    // 所属用户
    @NotBlank(message = "userId不能为空")
    private String userId;

    private Integer currentPage;

    private Integer pageSize;
}
